<template>
  <div class="container">
    <!-- 左侧分类 -->
    <HomeCategory />
    <!-- 轮播 -->
    <HomeBanner />
    <!--新鲜好物 -->
    <HomeNew />
    <!-- 人气推荐 -->
    <HomeHot />
    <!-- 产品组件 -->
    <HomeProduct />
  </div>
</template>

<script>
// 导入组件
import HomeBanner from './components/home-banner.vue'
import HomeCategory from './components/home-category.vue'
// import HomePannel from './components/home-panel.vue'
import HomeNew from './components/home-new.vue'
import HomeHot from './components/home-hot.vue'
import HomeProduct from './components/home-product.vue'

export default {
  components: {
    HomeBanner,
    HomeCategory,
    // HomePannel,
    HomeNew,
    HomeHot,
    HomeProduct
  },
  setup () {
    return {}
  }
}
</script>

<style lang="less" scoped>
//手动引入less文件 =>使用里面定义的less全局变量
// @import "~@/styles/variables.less";
// .container {
//   border: 1px solid @xtxColor;
// }
</style>
